FROM openjdk:8-alpine3.9
# 作者信息
MAINTAINER zzj Docker springboot "zzj"
#修改镜像为东八区时间
ENV TZ Asia/Shanghai
ARG JAR_FILE
COPY ${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","/app.jar"]